
#ifndef _MsgPushCommandIn_H_
#define _MsgPushCommandIn_H_

#include "command.h"

#pragma pack(1)

namespace Cmd
{
        namespace MsgPush
        {
                enum {
                        CMDIN_LOGIN             = 0x0010,
                };

                // CMDIN_LOGIN
                enum {
                        SCMDIN_LOGIN                            = 0x0001,       // 请求登录MsgPushServer
                        SCMDIN_LOGIN_RESPONCE                   = 0x0002,       // 登录MsgPushServer返回
                };


                // login cmd
                struct stLoginCmd : t_NullCmd
                {
                        stLoginCmd()
                                : t_NullCmd(CMDIN_LOGIN, SCMDIN_LOGIN)
                        {
                                server_type_ = 0;
                                server_id_ = 0;
                        }

                        uint16_t server_id_;
                        uint16_t server_type_;
                };

                struct stLoginResponce : t_NullCmd
                {
                        stLoginResponce()
                                : t_NullCmd(CMDIN_LOGIN, SCMDIN_LOGIN_RESPONCE)
                        {
                        }
                };
        };      // namespace MsgPush
};      // namespace Cmd

#pragma pack() //pack(1)

#endif  // _MsgPushCommandIn_H_
